extends State

@onready var animated_sprite: AnimatedSprite2D = $"../../AnimatedSprite2D"
@onready var attack_timer: Timer = $"../../AttackTimer"

func enter():
	
	animated_sprite.play("Attack")
	await animated_sprite.animation_finished
	state_machine.transition_to("Idle")
	
func process_logic(delta: float):
	pass

func input_logic(event: InputEvent):
	pass

func exit():
	print("敌人退出了 攻击 状态 ")
	pass
